#ifndef CIRCLE_H
#define CIRCLE_H

class Circle : public RigidBody, public ConvexShape
{
protected:
    virtual vector3 doGetSupport(const vector3 &) const;

    scalar _radius;
public:

    explicit Circle(scalar radius = 1, scalar mass = 1, scalar elasticity = 1);

    Circle(const vector3 &pos, const vector3 &vel, scalar radius = 1, scalar mass = 0, scalar elasticity = 1);
    Circle(const Circle &c);

    scalar radius() const;
    void radius(scalar);

    virtual void integrate(scalar time);
};

#endif // CIRCLE_H
